package com.zjitc.service;

import com.zjitc.model.User;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: lhl
 * @date-Time: 2018/5/28 0028
 * @description:
 */
public interface UserService {
    /**
     * 用户注册
     *
     * @param user
     * @return
     */
    int register(User user);

    /**
     * 返回所有的用户
     *
     * @return
     */
    List<User> findAll();
}
